<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html >
<head>
	<meta name="decorator" content="moduleEdit"/>
	<link href="${staticPath}/lib/datetimepicker/0.0.11/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css">
	<link href="${staticPath}/lib/chosen/1.1.0/chosen.min.css" rel="stylesheet" type="text/css">
	<script type="text/javascript">
		$(document).ready(function() {
			$("#key").focus();
			 $("#associatedForm").validate({
				submitHandler: function(form){
					Oosp_Loading('正在提交，请稍等...');
					form.submit();
				},
				errorContainer: "#messageBox",
				errorPlacement: function(error, element) {
					$("#messageBox").text("输入有误，请先更正。");
					if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
						error.appendTo(element.parent().parent());
					} else {
						error.insertAfter(element);
					}
				}
			}); 
			$("#saveAssociated").click(function (){
				$("#associatedForm").submit();
			});
		});
		
	</script>
</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-xs-12">
				<div class="panel panel-default">
				  <div class="panel-heading">
				    <h3 class="panel-title">修改合同意向审批流程
						<a class="btn btn-default btn-sm pull-right" role="button" href="javascript:void(0)" onclick="history.go(-1)">返回</a>
				    </h3>
				  </div>
				  <div class="panel-body">
					<form action="${contextPath}/biz/intent/intAssociated/save" class="form-horizontal" id="associatedForm" method="post">
						<input type="hidden" id="status" name="status" value="${intAssociated.status}"><!-- 状态 -->
			  			<input type="hidden" id="negotiationId" name="negotiationId" value="${intAssociated.negotiationId}" >
			  			<input type="hidden" id="standardId" name="standardId" value="${intAssociated.standardId}">
			  			<input type="hidden" id="contractId" name="contractId" value="${intAssociated.contractId}">
			  			<input type="hidden" id="firstIntentId" name="firstIntentId" value="${intAssociated.firstIntentId}">
			  			<input type="hidden" id="areaId" name="areaId" value="${intAssociated.areaId}">
			  			<input type="hidden" id="storeId" name="storeId" value="${intAssociated.storeId}">
			  			<input type="hidden" id="floorId" name="floorId" value="${intAssociated.floorId}">
			  			<input type="hidden" id="supplierId" name="supplierId" value="${intAssociated.supplierId}">
						<div class="form-group">
							<label  class="col-sm-2 control-label">单号:</label>
							<div class="col-sm-3">
								<input type="text" class="form-control required" id="intentNo" name="intentNo" value="${intAssociated.intentNo}">
							</div>
							
							<div class="col-sm-3 pull-right">
								<ossp:select dictType="INTENT_TYPE" id="intentType" name="intentType" class_="form-control required" defaultSelected="${intAssociated.intentType}"></ossp:select>
							</div>
							<label  class="col-sm-2 control-label pull-right">意向类型:</label>
							
						</div>
						<div class="form-group">
							<input type="hidden" id="areaId" name="areaId" value="${intAssociated.areaId}">
							<label class="col-sm-2 control-label ">区域:</label>
							<div class="col-sm-3">
								<%-- <ossp:select dictType="city" id="area" name="area" class_="form-control required"></ossp:select> --%>
								<input type="text" class="form-control required" id="area" name="area" value="${intAssociated.area}">
							</div>
							<div class="col-sm-3 pull-right" >
								<%-- <ossp:select dictType="city" id="store"  name="store" class_="form-control required"></ossp:select> --%>
								<input type="text" class="form-control required" id="store" name="store" value="${intAssociated.store}">
							</div>
							<input type="hidden" id="storeId" named="storeId" value="${intAssociated.storeId}">
							<label class="col-sm-2 control-label pull-right">门店:</label>
							
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">楼层:</label>
							<input type="hidden" id="floorId" name="floorId" value="${intAssociated.floorId}">
							<div class="col-sm-3">
								<%-- <ossp:select dictType="city" id="floor" name="floor" class_="form-control required"></ossp:select> --%>
								<input type="text" class="form-control required" id="floor" name="floor" value="${intAssociated.store}" >
							</div>
							<div class="col-sm-3 pull-right">
								<input type="text" class="form-control required" id="bandPurchaseHead" name="bandPurchaseHead" value="${intAssociated.bandPurchaseHead}">
							</div>
							<label class="col-sm-2 control-label pull-right">采购负责人:</label>				
						</div>
											
						<div class="form-group">
							<label class="col-sm-2 control-label">运营负责人:</label>
							<div class="col-sm-3 ">
								<input type="text" class="form-control required" id="bandOperateHead" name="bandOperateHead" value="${intAssociated.bandOperateHead}">
							</div>
							<div class="col-sm-3 pull-right" >
								<input type="text" class="form-control required" id="supplierNo" name="supplierNo" value="${intAssociated.supplierNo}">
							</div>
							<input type="hidden" id="supplierId" name="supplierId" value="${assinfo.supplierId}">
							<label  class="col-sm-2 control-label pull-right">供应商编码:</label>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">供应商联系人:</label>
							<div class="col-sm-3">
								<input type="text" class="form-control required" id="supplierContact" name="supplierContact" value="${intAssociated.supplierContact}">
							</div>
							<div class="col-sm-3 pull-right" >
								<input type="text" class="form-control required" id="supplierTel"  name="supplierTel" value="${intAssociated.supplierTel}">
							</div>
							<label class="col-sm-2 control-label pull-right">供应商联系人电话:</label>
							
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">商户属性:</label>
							<div class="col-sm-3">
								<ossp:select dictType="IS_MAIN_SHOP" id="supplierAttribute" name="supplierAttribute" class_="form-control required" defaultSelected="${intAssociated.supplierAttribute}"></ossp:select>
							</div>
							<div class="col-sm-3 pull-right">
								<ossp:select dictType="IS_UP_TO_STANDARD" id="isUpToStandard" class_="form-control required " name="isUpToStandard" defaultSelected="${intAssociated.isUpToStandard}" ></ossp:select>
							</div>
							<label class="col-sm-2 control-label pull-right">是否符合标准:</label>
							
						</div>
						<div class="form-group">
								<label class="col-sm-2 control-label">签约单位名称:</label>
								<div class="col-sm-10">
									<input type="text" class="form-control required" id="supplierName" name="supplierName"  value="${intAssociated.supplierName}">
								</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">签约单位地址:</label>
							<div class="col-sm-10">
								<input type="text" class="form-control required" id="supplierAddress" name="supplierAddress"  value="${intAssociated.supplierAddress}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">签约原因分析:</label>
							<div class="col-sm-10">
								<textarea class="form-control required" rows="3" id="signReasons" name="signReasons"  value="${intAssociated.signReasons}"></textarea>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">品牌介绍:</label>
							<div class="col-sm-10">
								<textarea class="form-control required" rows="3" name="brandIntroduction" id="brandIntroduction" value="${intAssociated.brandIntroduction}"></textarea>
							</div>
						</div>
						
						
						<div class="tab-content">
			  				<div class="tab-pane active" id="home">
			  					<table class="table table-bordered">
			  						<tbody>
			  							<tr>
			  								<td class="text-center" style="width: 20%"><strong>项&nbsp&nbsp&nbsp&nbsp目</strong></td>
					  						<td class="text-center" style="width: 30%"><strong>原位经营品牌条件</strong></td>
					  						<td class="text-center" style="width: 50%"><strong>新合同条件</strong></td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">建筑面积</td>
					  						<td class="text-center" style="width: 30%">100m²</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="buildArea" name="buildArea" placeholder="输入面积">
												</div>
												<label class="col-sm-1 control-label">m²</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">面积分摊系数</td>
					  						<td class="text-center" style="width: 30%">0.9</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="areaCoefficient" name="areaCoefficient" placeholder="输入系数">
												</div>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">收银方式</td>
					  						<td class="text-center" style="width: 30%">xxxxxx</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="" >
													<ossp:radio dictType="CONTRACT_CHCKOUTYPE" id="checkoutType" name="checkoutType" class_="required"></ossp:radio>
												</div>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">结算方式</td>
					  						<td class="text-center" style="width: 30%">xxxxxx</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8" >
													<ossp:select dictType="city" id="settlementType" name="settlementType" class_="form-control required"></ossp:select>
												</div>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">结算周期</td>
					  						<td class="text-center" style="width: 30%">xxxxxx</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8" >
													<ossp:select dictType="city" id="settlementCycle" name="settlementCycle" class_="form-control required"></ossp:select>
												</div>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">会员卡折率类型</td>
					  						<td class="text-center" style="width: 30%">xxxxxx</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="" >
													<ossp:radio dictType="ONTRACT_MEMBER_RATE_" id="memberRateType" name="memberRateType" class_="required"></ossp:radio>
												</div>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">金卡折率</td>
					  						<td class="text-center" style="width: 30%">8.5折</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="gcardDiscount" name="gcardDiscount" placeholder="输入折率">
												</div>
												<label class="col-sm-2 control-label">折</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">金卡折上折率</td>
					  						<td class="text-center" style="width: 30%">8.8折</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="gcardDiscount2" name="gcardDiscount2" placeholder="输入折率">
												</div>
												<label class="col-sm-2 control-label">折</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">普卡折率</td>
					  						<td class="text-center" style="width: 30%">9.9折</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="ocardDiscount" name="ocardDiscount" placeholder="输入折率">
												</div>
												<label class="col-sm-2 control-label">折</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">普卡折上折率</td>
					  						<td class="text-center" style="width: 30%">9.9折</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="ocardDiscount2" name="ocardDiscount" placeholder="输入折率">
												</div>
												<label  class="col-sm-2 control-label">折</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">合作方式</td>
					  						<td class="text-center" style="width: 30%">xxxxxx</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8" >
													<ossp:select dictType="city" id="businessType" name="businessType" class_="form-control required"></ossp:select>
												</div>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">付款期限</td>
					  						<td class="text-center" style="width: 30%">xxxxxx</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8" >
													<ossp:select dictType="city" id="paymentPeriod" name="paymentPeriod" class_="form-control required"></ossp:select>
												</div>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">付款方式</td>
					  						<td class="text-center" style="width: 30%">xxxxxx</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="" >
													<ossp:radio dictType="PAYMENT_TYPE" id="paymentType" name="paymentType" class_="required"></ossp:radio>
												</div>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">品牌推广服务费</td>
					  						<td class="text-center" style="width: 30%">9.9(元)</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="brandPopFees" name="brandPopFees" placeholder="输入服务费">
												</div>
												<label class="col-sm-2 control-label">(元)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">仓储费</td>
					  						<td class="text-center" style="width: 30%">999.9(元/月)</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="storageFees" name="storageFees" placeholder="输入仓储费">
												</div>
												<label for="name" class="col-sm-3 control-label">(元/月)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">配送费</td>
					  						<td class="text-center" style="width: 30%">999.9(元/月)</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="transportFees" name="transportFees" placeholder="输入配送费">
												</div>
												<label for="name" class="col-sm-3 control-label">(元/月)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">设施服务费单价</td>
					  						<td class="text-center" style="width: 30%">9.9(元/m²/月)</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="facilitiesUnitFees" name="facilitiesUnitFees" placeholder="输入设施服务费单价">
												</div>
												<label class="col-sm-4 control-label">(元/m²/月)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">设施服务费</td>
					  						<td class="text-center" style="width: 30%">9.9(元/月)</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="facilitiesFees" name="facilitiesFees" placeholder="输入设施服务费">
												</div>
												<label  class="col-sm-3 control-label">(元/月)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">信息服务费</td>
					  						<td class="text-center" style="width: 30%">9999.9(元/年)</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="infoFees" name="infoFees" placeholder="输入信息服务费">
												</div>
												<label class="col-sm-3 control-label">(元/年)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">平效</td>
					  						<td class="text-center" style="width: 30%">9.9(元/m²/月)</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="benefit" name="benefit" placeholder="输入平效">
												</div>
												<label class="col-sm-4 control-label">(元/m²/月)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">质保金</td>
					  						<td class="text-center" style="width: 30%">9.9(元)</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="warrantyFees" name="warrantyFees" placeholder="输入平效">
												</div>
												<label class="col-sm-1 control-label">(元)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">综合服务费/单位</td>
					  						<td class="text-center" style="width: 30%">9.9(元/月)</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-6">
													<input type="text" class="form-control required" id="serviceFees" name="serviceFees"placeholder="输入综合服务费">
												</div>
												<div class="col-sm-6" >
													<ossp:select dictType="VOUCHER_FEES_UNIT" id="serviceFeesUnit" name="serviceFeesUnit" class_="form-control required"></ossp:select>
												</div>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">工衣</td>
					  						<td class="text-center" style="width: 30%">
					  							甲方工衣
					  						</td>
					  						<td class="text-center" style="width: 50%">
												<div class="" >
													<ossp:radio dictType="WORK_CLOTHES" id="workClothes" name="workClothes" class_="required"></ossp:radio>
												</div>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">增加用电</td>
					  						<td class="text-center" style="width: 30%">
					  							不提供
					  						</td>
					  						<td class="text-center" style="width: 50%">
												<div class="" >
													<ossp:radio dictType="SUPPLIER_POWER" id="isUndertakeElec" name="isUndertakeElec" class_="required"></ossp:radio>
												</div>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">品牌形象维护费</td>
					  						<td class="text-center" style="width: 30%">999.9(元/年)</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="imageFees" name="imageFees" placeholder="输入设施服务费">
												</div>
												<label for="name" class="col-sm-3 control-label">(元/年)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">月均(目标)销售额</td>
					  						<td class="text-center" style="width: 30%">99,999.9(元)</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="salesAmount" name="salesAmount" placeholder="输入目标销售额">
												</div>
												<label  class="col-sm-1 control-label">(元)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">税票类型/税率</td>
					  						<td class="text-center" style="width: 30%">
												增值税发票/税率:9.9%
					  						</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-6" >
													<ossp:select dictType="INVOICE_TYPE" id="taxType" name="taxType" class_="form-control required"></ossp:select>
												</div>
					  							<div class="col-sm-6">
													<input type="text" class="form-control required" id="taxRate" name="taxRate" placeholder="输入税率">
												</div>
												
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">导购/导购数量</td>
					  						<td class="text-center" style="width: 30%">
												不自派导购/人数:9 人
					  						</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-6" >
													<ossp:radio dictType="WORK_CLOTHES" id="guideType" name="guideType" class_="required"></ossp:radio>
												</div>
					  							<div class="col-sm-4">
													<input type="text" class="form-control required" id="guideAmount" name="guideAmount">
												</div>
												<label class="col-sm-1 control-label">(人)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">会员卡积分服务费</td>
					  						<td class="text-center" style="width: 30%">
												999.99(元/月/店)
					  						</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="cardScoreFees" name="cardScoreFees">
												</div>
												<label  class="col-sm-4 control-label">(元/月/店)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">促销服务费</td>
					  						<td class="text-center" style="width: 30%">
												999.99(元/月/店)
					  						</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="promotionFees" name="promotionFees">
												</div>
												<label  class="col-sm-4 control-label">(元/月/店)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">会员卡服务费</td>
					  						<td class="text-center" style="width: 30%">
												999.99(元/月)
					  						</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="cardFees" name="cardFees" >
												</div>
												<label  class="col-sm-3 control-label">(元/月)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">刷卡手续费</td>
					  						<td class="text-center" style="width: 30%">
												1.0%
					  						</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<input type="text" class="form-control required" id="swipeFees" name="swipeFees">
												</div>
												<label  class="col-sm-1 control-label">(%)</label>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">提货凭证服务费/单位</td>
					  						<td class="text-center" style="width: 30%">9.9(元/月)</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-6">
													<input type="text" class="form-control required" id="voucherFees" name="voucherFees">
												</div>
												<div class="col-sm-6" >
													<ossp:select dictType="VOUCHER_FEES_UNIT" id="voucherFeesUnit" name="voucherFeesUnit" class_="form-control required"></ossp:select>
												</div>
					  						</td>
			  							</tr>
			  							<tr>
			  								<td class="text-center" style="width: 20%">其他约定事项</td>
					  						<td class="text-center" style="width: 30%">
					  							地方撒范德萨的发生发生的啊沙发上撒发生法
					  						</td>
					  						<td class="text-center" style="width: 50%">
					  							<div class="col-sm-8">
													<textarea class="form-control required" rows="5" name="otherItems" id="otherItems" value="${intAssociated.otherItems}"></textarea>
												</div>
					  						</td>
			  							</tr>
			  						</tbody>
			  					</table>
			  					
			  				</div>
			  			</div>
			  			<div class="form-group">
							<label class="col-sm-2 control-label">付款方式补充:</label>
							<div class="col-sm-10">
								<textarea class="form-control required" rows="3" name="paymentTypeAdd" id="paymentTypeAdd" value="${intAssociated.paymentTypeAdd}"></textarea>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">其他约定事项:</label>
							<div class="col-sm-10">
								<textarea class="form-control required" rows="3" name="otherItems" id="otherItems" value="${intAssociated.otherItems}"></textarea>
							</div>
						</div>
						
						<div class="form-group">
							<label class="col-sm-2 control-label">合同文本类型:</label>
							<div class="col-sm-3">
								<ossp:select dictType="city"class_="form-control required" id="isContractModify" name="isContractModify" defaultSelected="${intAssociated.isContractModify}"></ossp:select>
							</div>
							
							<div class="col-sm-3 pull-right">
								<ossp:select dictType="IS_UP_TO_STANDARD" id="textType" class_="form-control required " name="textType" defaultSelected="${intAssociated.isUpToStandard}"></ossp:select>
							</div>
							<label class="col-sm-2 control-label pull-right">生成合同类型:</label>
						</div>
						<div class="form-group">
							<label  class="col-sm-2 control-label">合同开始时间:</label>
							<div class="col-sm-4">
								<div class="input-group date o-a-form-datetime" data-date="" data-date-format="yyyy-mm-dd">
									<input class="form-control required" type="text" id="startDate" name="startDate" value="${intAssociated.startDate}" />
									<span class="input-group-addon"><i class="glyphicon glyphicon-remove"></i></span>
    								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
								</div>
							</div>
							<label class="col-sm-2 control-label">合同结束时间:</label>
							<div class="col-sm-4">
								<div class="input-group date o-a-form-datetime" data-date="" data-date-format="yyyy-mm-dd">
									<input class="form-control required" type="text" id="endDate" name="endDate" value="${intAssociated.endDate}"/>
									<span class="input-group-addon"><i class="glyphicon glyphicon-remove"></i></span>
    								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
								</div>
							</div>
						</div>
			  			<div class="form-group">
						 	<div class="col-sm-6">
							    <label for="createBy" class="col-sm-4 control-label">提报人:</label>
								<div class="col-sm-6">
									<input type="text" class="form-control required" id="createBy" name="createBy" value="${intAssociated.createBy}" >
								</div>
						  	</div>
						  	<div class="col-sm-6">
							    <label for="createTime" class="col-sm-4 control-label">提报时间:</label>
								<div class="col-sm-8">
								<div class="input-group date o-a-form-datetime" data-date="" data-date-format="yyyy-mm-dd hh:ii">
									<input class="form-control required" type="text" id="createTime" name="createTime" value="${intAssociated.createTime}"/>
									<span class="input-group-addon"><i class="glyphicon glyphicon-remove"></i></span>
    								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
								</div>
							</div>
						 	</div>
						</div>
						<div class="form-group">
						 	<div class="col-sm-6">
							    <label for="createBy" class="col-sm-4 control-label">最后修改人:</label>
								<div class="col-sm-6">
									
									<input type="text" class="form-control required" id="updateBy" name="updateBy" value="${intAssociated.updateBy}">
								</div>
						  	</div>
						  	<div class="col-sm-6">
							    <label for="createTime" class="col-sm-4 control-label">最后修改时间:</label>
								<div class="col-sm-8">
								<div class="input-group date o-a-form-datetime" data-date="" data-date-format="yyyy-mm-dd hh:ii">
									<input class="form-control required" type="text" id="updateTime" name="updateTime" value="${intAssociated.updateTime}"/>
									<span class="input-group-addon"><i class="glyphicon glyphicon-remove"></i></span>
    								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
								</div>
							</div>
						 	</div>
						</div>
					</form>
				  </div>
				  			
			</div>
			<div class="form-group">
						  <div class="col-sm-offset-2 col-sm-10">
						    <input class="btn btn-primary " id="saveAssociated" type="button" value="提交流程"/>
							<input class="btn btn-default " type="button" value="返 回" onclick="history.go(-1)"/>
						  </div>
						</div>
				</div>
		</div>
	</div>
	<script src="${staticPath}/lib/datetimepicker/0.0.11/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
	<script src="${staticPath}/lib/datetimepicker/0.0.11/js/locales/bootstrap-datetimepicker.zh-CN.js" type="text/javascript"></script>
	<script src="${staticPath}/lib/chosen/1.1.0/chosen.jquery.js" type="text/javascript"></script>
	<script src="${staticPath}/js/ossp-jquery-chosen.js" type="text/javascript"></script>
	<script src="${staticPath}/lib/accounting/0.3.2/accounting.min.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(".o-a-form-date").datetimepicker({
	        language:  'zh-CN',
	        autoclose: true,
	        minView: 2,
	        todayBtn:  1,
	        pickerPosition: "bottom-left"
	    });
		$(".o-a-form-datetime").datetimepicker({
	        language:  'zh-CN',
	        autoclose: true,
	        pickerPosition: "bottom-left"
	    });
		$(".o-a-form-time").datetimepicker({
	        language:  'zh-CN',
			autoclose: 1,
			startView: 1,
			maxView: 1,
	        pickerPosition: "bottom-left"
	    });
		$(document).ready(function (){
			$(".chosen-select").chosen({});
			//货币格式化
			$('[data-accounting]').each(function (){
				var $this = $(this);
				if($this.attr("data-accounting-precision") && ""!=$this.attr("data-accounting-precision")){
					$this.html(accounting.formatMoney($this.attr("data-accounting"),"¥ ",$this.attr("data-accounting-precision")*1));
				}else{
					$this.html(accounting.formatMoney($this.attr("data-accounting"),"¥ "));
				}
			});
			;
		});
	</script>
</body>
</html>